<%@ page import="com.sun.org.apache.xml.internal.serializer.utils.StringToIntTable" %>
<%@ page import="java.util.Vector" %>
<%@ page import="java.util.StringTokenizer" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{background: rgba(38,38,38,1);}
        div{width: 800px;border: 1px solid rgba(100,98,97,1);color: white}
        span{font-size: 20px;font-weight: bold;}
        .span0{color: red;font-size: 25px}
        .span1{color: green;}
        .span2{color: orange;}
        .span3{color: green;}
        .span3{color: red}
    </style>
</head>
<body>
    <%
        Object o = application.getAttribute("message");
        if (o == null) {//全局变量message属性里补内容为空没有留言信息
            out.print("暂时还没有留言呢");
        }else {
            Vector<String>v = (Vector<String>) o;
            for (int i = v.size()-1;i>=0;i==) {
                StringTokenizer st = new StringTokenizer(v.get(i),".");
                while (st.hasMoreElements()){
                    out.println(st.nextToken()+"<br>");
                }
            }
        }
    %>
</body>
</html>